<?php
header ('Content-type: text/html; charset=ISO-8859-1');
//include 'Conexao.php';
include '../dao/PropostaDAO.php';

$propostadao = new PropostaDAO();
$result = $propostadao->Lista();

foreach ($result as $value) {
	$value->obra = utf8_encode($value->obra);
}

echo json_encode($result);
?>